package com.atguigu.service;

import com.atguigu.entity.PageResult;
import com.atguigu.entity.QueryPageBean;
import com.atguigu.pojo.TravelGroup;

import java.util.List;


public interface TravelGroupService {
    void save(Integer[] travelItemIds, TravelGroup travelGroup);

    PageResult findPage(QueryPageBean queryPageBean);

    void deleteById(Integer id);

    void edit(Integer[] travelItemIds, TravelGroup travelGroup);

    TravelGroup findOne(Integer id);

    List<TravelGroup> findAll();
}
